<?php
  require_once('tpl/header.php');
   require_once("loginCheckadmin.php");
      require_once("../system/dbConn.php");
   $aid=$_GET["aid"];
   
    $sql="select * from activity where aid=$aid";
    $result=mysqli_query($link,$sql);

    $row=mysqli_fetch_assoc($result);//$row

?><form class="form-horizontal" action="doActUpdate.php" method="post" enctype="multipart/form-data">
    <input type="hidden" name="aid" value="<?php echo $aid; ?>">
		活动名称：
			<input type="text" name="aname" value= "<?php echo $row["aname"]; ?>">
		<br>
		<br>

	    活动细节：
        <br>
            &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<textarea rows="7"  cols="60" name="adetial"    > <?php echo $row["adetial"]; ?> </textarea>
        <br>
        <br>
        <input type="submit" value="修改">
      </form>
<?php
  require_once('tpl/footer.php');
?>